<template>
    <div>
        <van-search v-model="value" shape="round" placeholder="请输入搜索关键词" @click="dj" />
    </div>
</template>

<script setup>
import { qsearchApi } from '@/api/api';
import { ref, watch } from 'vue';

let qsearch = ref([])
let dj = ref('')
// watch(input, (input) => {
//     console.log(input);
//     qsearchApi().then(res => {
//      console.log('搜索',res);
//      qsearch.value=res.data.message
     
//     })

// })

</script>

<style lang="scss" scoped></style>